package cn.kgc.springboot1048.spring_vue2.mapper;

import cn.kgc.springboot1048.spring_vue2.entity.Houseinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author szz
 * @since 2024-04-10
 */
public interface HouseinfoMapper extends BaseMapper<Houseinfo> {

    List<Houseinfo> selectAll(@Param("desc") String desc);

    int delByHouseIdInt(Integer Id);

    int add(Houseinfo houseinfo);

    Houseinfo selectById(Integer Id);

    boolean updateByHouse(Houseinfo houseinfo);

    List<Houseinfo> selectByDesc(@Param("desc") String desc);

}
